]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: Avoid open state reentrancy in dummy menus
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 13 Feb 2022 13:05:41 +0000 (14:05 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sun, 13 Feb 2022 13:25:42 +0000 (13:25 +0000)
commit89db7bbb120b5874bd94cdeb1992712513281b26
tree3657465a236de2a28dab260c33358a465681a198
parent57d681863ac847f44b2914c4fb9798e17ffb4c9f
popupMenu: Avoid open state reentrancy in dummy menus

Dummy menus may emit ::open-state-changed multiple times for
the same state. Avoid doing that so that the PopupMenuManager
is happy not having to handle reentrancy.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5064
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2178>
js/ui/popupMenu.js